package com.damagedboy.pocketbook.core.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@ToString
public class PocketBookPO {
    private Integer id;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date buytime;
    private Integer money;
    private String descr;
    private String participant;
    private Integer bill;
    private Date createTime;
    private Integer createId;
    private String category;
}
